// src/directives/theme.js
export default {
    inserted(el, binding) {
        const theme = binding.value  || 'dark';
        el.classList.add(`theme-${theme}`);
    }
}